/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'

const ${name}Router = {
  path: '/${name}',
  component: Layout,
  redirect: '/${name}/index',
  name: '${menuName}',
  meta: { title: '${menuName}', icon: '${menuName}' },
  children: [
    {
      path: 'index',
      name: '${menuName}',
      component: () => import('@/views/${name}/index'),
      meta: { title: '${menuName}', icon: 'table' }
    }
  ]
}
export default ${name}Router
